package com.spring.boot.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ZhuYouBin
 * @version 1.0.0
 * @Date: 2022/10/25 22:42
 * @Description
 */
@RestController
@RequestMapping("/api")
public class TestController {

    @GetMapping("/demo")
    public String demo() {
        System.out.println("执行控制器【TestController】方法【demo】");
        return "demo01";
    }

}
